package com.tqjc.area.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Description: 垛位信息实体类
 * @author: pzy
 * @date: 2023年05月17日 11:20
 */
@TableName(value = "stock")
@Data
@EqualsAndHashCode(callSuper=false)
@DS("baotou")
@Schema(description = "垛位信息表")
public class Stock extends Model implements Serializable, Cloneable {
    /**
     * ID;辊道表主键
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Integer id;
    /**
     * 库存区域名称
     */
    @Schema(description = "库存区域名称")
    private String name;
    /**
     * 区域x坐标
     */
    @Schema(description = "区域x坐标")
    private Integer x;
    /**
     * 区域y坐标
     */
    @Schema(description = "区域y坐标")
    private Integer y;
    /**
     * 区域初始高度
     */
    @Schema(description = "区域初始高度")
    private Integer z;
    /**
     * 垛位清空状态
     */
    @Schema(description = "垛位清空状态")
    private Integer emptyStatus;
}
